
package com.dkm.ec.activity.persistence.entity;

import com.dkm.base.db.persistence.entity.AbstractPo;

import java.util.Date;

/**
 * 秒杀活动配置管理Entity
 * @author fjy
 * @version 2017-08-11
 */
public class SecKillActivityConfigPo  extends AbstractPo<String>{
	
	private static final long serialVersionUID = 1L;
	private String id; //主键
	private Date beginTime;		// begin_time
	private Date endTime;		// end_time
	private Integer status;		// 状态, 1: 正常, 2: 取消
	private Date createTime;		// create_time
	private Date updateTime;		// update_time
	private Double price; // 秒杀价格

	//just for app display
	private Long remainTime; //剩余时间
	
	public SecKillActivityConfigPo() {
		super();
	}

	public SecKillActivityConfigPo(String id){
		this.id = id;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}
	
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Long getRemainTime() {
		return remainTime;
	}

	public void setRemainTime(Long remainTime) {
		this.remainTime = remainTime;
	}

}